package com.edu.flink.table;

import java.io.Serializable;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author jpge
 * @since 2024-04-23
 */
public class Users implements Serializable {

    private static final long serialVersionUID = 1367398493447560974L;

    /**
     * 用户名
     */
    private String username;

    /**
     * 密码
     */
    private String password;

    /**
     * 是否启用
     */
    private Boolean enable;

    public Users() {
    }

    public Users(String username, String password, Boolean enable) {
        this.username = username;
        this.password = password;
        this.enable = enable;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

    @Override
    public String toString() {
        return "Users{" +
                "username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", enable=" + enable +
                '}';
    }

}